//
//  CLPersonInfoViewController.swift
//  CLEasyBBQ
//
//  Created by simon zhao on 2017/4/16.
//  Copyright © 2017年 simon zhao. All rights reserved.
//

import UIKit
import SnapKit

class CLPersonInfoViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        self.view.backgroundColor = UIColor.white
        
        let txta = UITextField.init()
        txta.placeholder = "请输入"
        txta.borderStyle = UITextBorderStyle.line
        txta.layer.borderWidth = 0.5
        self.view.addSubview(txta)
        txta.snp.makeConstraints { (make) in
            
            make.top.equalTo(self.view).offset(88)
            make.left.equalTo(self.view).offset(30)
            make.width.equalTo(self.view.frame.size.width * 0.4)
            make.height.equalTo(30)
        
        }
        
        let txtb = UITextField.init()
        txtb.placeholder = "请输入"
        self.view.addSubview(txtb)
        txtb.snp.makeConstraints { (make) in
            
            make.top.equalTo(txta.snp.bottom).offset(20)
            make.left.equalTo(txta)
            make.width.equalTo(txta)
            make.height.equalTo(txta)
            
        }
        
        
        

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
